package com.neu.mapper;

import com.neu.pojo.Plan;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PlanMapper {

    List<Plan> queryPlanList(int projectId);

    int insertPlan(Plan plan);

    int updatePlan(Plan plan);

    int deletePlan(int id);

    int deletePlanGroup(int projectId);

    int insertPlanGroup(List<Plan> planList);

}
